﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebmasterTool/Admin.Master" AutoEventWireup="true"
    CodeBehind="ContactDetails.aspx.cs" Inherits="Framework.WebmasterTool.Contacts.ContactDetails" %>

<%@ Register src="../../Resources/Watermark.ascx" tagname="Watermark" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ctlCaption" runat="Server">
    Chi tiết liên hệ khách hàng
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageContent" runat="Server">
    <asp:Label ID="lblPermissionMessage" runat="server" Font-Bold="true" ForeColor="Red"
        Text="Tài khoản không có quyền truy cập vào trang này" Visible="false"></asp:Label>
    <asp:Panel ID="Panel1" runat="server" Visible="true">
        <table cellpadding="5" cellspacing="0" border="0" rules="none" width="780px">
            <tr>
                <td colspan="2" align="center">
                    <asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <uc2:Watermark ID="Watermark1" runat="server" />
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                    Họ tên:
                </td>
                <td align="left">
                    <asp:Label ID="lblFullname" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                    Điện thoại:
                </td>
                <td align="left">
                    <asp:Label ID="lblPhone" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                    Địa chỉ:
                </td>
                <td align="left">
                    <asp:Label ID="lblAddress" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                    Email:
                </td>
                <td align="left">
                    <asp:Label ID="lblEmail" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
        <p>
            Thông tin câu hỏi:</p>
        <table cellpadding="5" cellspacing="0" border="0" rules="none" width="780px">
            <tr>
                <td align="right" width="120">
                    Ngày đăng:
                </td>
                <td align="left">
                    <asp:Label ID="lblAddedDate" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                    Tiêu đề liên hệ:
                </td>
                <td align="left">
                    <asp:Label ID="lblTitle" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                    Nội dung liên hệ:
                </td>
                <td align="left">
                    <asp:Label ID="lblContent" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                    Trả lời:
                </td>
                <td align="left">
                    <div style="margin-bottom: 5px">
                        Tiêu đề:
                        <asp:TextBox ID="txtAnswerTitle" runat="server" Width="500"></asp:TextBox><br />
                        Nội dung:
                    </div>
                    <CKEditor:CKEditorControl ID="txtBody" runat="server" UIColor="#CED9F3" Width="600"
                        Height="200" Toolbar="Full" BasePath="/Plugins/Ckeditor" ContentsCss="/Plugins/Ckeditor/contents.css"
                        TemplatesFiles="/Plugins/Ckeditor/plugins/templates/templates/default.js">
                    </CKEditor:CKEditorControl>
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                    Có
                    <asp:Literal ID="lblCountContactAnswer" runat="server"></asp:Literal>
                    bài trả lời lưu lại
                </td>
                <td>
                    <a id="aContactAnswers" runat="server">Xem các bài trả lời trước đây</a>
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                    Ngày gửi cuối:
                </td>
                <td>
                    <asp:Label ID="lblContactUpdatedDate" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                    Người gửi cuối:
                </td>
                <td>
                    <asp:Label ID="lblContactUpdatedBy" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" width="120">
                </td>
                <td align="left">
                    <asp:Button ID="btnBack" runat="server" Text="Quay lại" OnClick="btnBack_Click" />
                    <asp:Button ID="btnSave" runat="server" Text="Lưu và gửi mail" Width="100px" OnClick="btnSave_Click" />
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
